package com.cqhfan.pojo.user.vo;

import com.cqhfan.core.constans.DateConstants;
import com.cqhfan.core.enums.SexTypeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 眭传洪
 * @create 2025-08-02 23:26
 */
@Data
public class UserProfileVO {

    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    private String nickName;

    private Integer likedNumber;

    private Integer fansNumber;

    private Integer friendNumber;

    private Integer followNumber;

    private String avatar;

    private Long douyinNumber;

    private String address;

    private String description;

    private SexTypeEnum sex;

    // 是否关注
    private Integer followStatus;

    @JsonFormat(pattern = DateConstants.DATE_TIME_FORMAT)
    private LocalDateTime createTime;

}
